package com.zzc.mapper;

import com.zzc.pojo.Menu;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    List<Menu> selectMenuListByUserId(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);


    /**
     * 查询全部菜单信息
     * @return
     */
    List<Menu> getMenuList();

    Menu getMenuById(Integer id);
}